// 存储 token
export const setTokenValue = (tokenValue) => {
  localStorage.setItem("TOKEN_VALUE", tokenValue);
};
export const setTokenHead = (tokenHead) => {
  localStorage.setItem("TOKEN_HEAD", tokenHead);
};
// 获取 token
export const getTokenValue = () => {
  return localStorage.getItem("TOKEN_VALUE");
};
export const getTokenHead = () => {
  return localStorage.getItem("TOKEN_HEAD");
};

// 清除本地存储的 token
export const removeToken = () => {
  localStorage.removeItem("TOKEN_HEAD");
  localStorage.removeItem("TOKEN_VALUE");
}
